/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipo.mm.ejb.util;

import java.sql.Connection;
import java.sql.SQLException;
import javax.annotation.Resource;
import javax.ejb.Stateless;
import javax.sql.DataSource;

/**
 *
 * @author makcro
 */
@Stateless
public class UtilityBeanBean implements UtilityBeanLocal {

    @Resource(name = "ipomm_datasource")
    private DataSource ipomm_datasource;

    public Connection getResourceJDBCConnection() throws SQLException {

        return ipomm_datasource.getConnection();
    }



}
